<!DOCTYPE html>
<!--
This is a starter template page. Use this page to start your new project from
scratch. This page gets rid of all links and provides the needed markup only.
-->
<html lang="en">

<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <meta http-equiv="x-ua-compatible" content="ie=edge">

  <title><%=SETTING.website_name%></title>

  <%- include(VIEWROOT+'common/cssjs.html'); %>
</head>

<body class="hold-transition sidebar-mini">
  <div class="wrapper">

    <%- include(VIEWROOT+'common/navbar.html'); %>

    <%- include(VIEWROOT+'common/sidebar.html'); %>



    <!-- Content Wrapper. Contains page content -->
    <div class="content-wrapper">

      <!-- Main content -->
      <div class="content">
          <input type="text" name="catid" id="catid" value="1"><br>

          /article/category_outside
          <a class="example1" href="/article/category_outside?callback=abc">[选择]</a><br>
          /article/outside
          <a class="example1" href="/article/outside?callback=callback_article">[选择]</a><br>
          /member/outside
          <a class="example1" href="/member/outside?callback=callback_member">[选择]</a><br>
          /article/upload_huge
          <a class="example1" href="/article/upload_huge?class=a&i=0&callback=callback_upload_huge&uniq=<%=UNIQ%>">[选择]</a><br>
          /article/upload_img
          <a class="example1" href="/article/upload_img?class=a&i=0&callback=callback_upload_huge&uniq=<%=UNIQ%>">[选择]</a><br>
          /article/upload_img_tradition
          <a class="example1" href="/article/upload_img_tradition?class=a&i=0&callback=callback_upload_huge&uniq=<%=UNIQ%>">[选择]</a><br>
          /article/upload_file_tradition
          <a class="example1" href="/article/upload_file_tradition?class=a&i=0&callback=callback_upload_huge&uniq=<%=UNIQ%>">[选择]</a><br>
      </div>
      <!-- /.content -->
    </div>
    <!-- /.content-wrapper -->

    <!-- Control Sidebar -->
    <aside class="control-sidebar control-sidebar-dark">
      <!-- Control sidebar content goes here -->
      <div class="p-3">
        <h5>Title</h5>
        <p>Sidebar content</p>
      </div>
    </aside>
    <!-- /.control-sidebar -->


    <%- include(VIEWROOT+'common/footer.html'); %>
  </div>
  <script>
  $(document).ready(function(){
    $(".example1").colorbox({width:"600px", height:"400px", iframe:true, opacity:0.3});
  });
function abc(arr){
    console.log(arr);
	$('#catid').val(arr[0]);
	$.colorbox.close();	
}
function callback_article(arr){
  console.log(arr);
	$.colorbox.close();	
}
function callback_member(arr){
  console.log(arr);
	$.colorbox.close();	
}
function callback_upload_huge(arr){
  console.log(arr);
	$.colorbox.close();	
}
  </script>
</body>

</html>